package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.Permissions;

import java.util.Set;

public interface PermissionsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Permissions record);

    int insertSelective(Permissions record);

    Permissions selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Permissions record);

    int updateByPrimaryKey(Permissions record);

    Set<String> selectAllPermissionsByStaffId(Integer id);
}